#ifndef INPUTBOX_H
#define INPUTBOX_H

#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Int_Input.H>
#include <FL/Fl_Slider.H>
#include "ImpressionistDoc.h"
#include <stdio.h>

class InputBox : public Fl_Group{
public:
	InputBox(int x, int y, int w, int h, const char *l=0);

	//callbacks
	void cb_slider();
	static void cb_slider_s(Fl_Widget *w, void *data);
	void cb_input();
	static void cb_input_s(Fl_Widget *w, void *data);

	// accessors
	int value();
	void value(int val);
	void minumum(int val);
	int  minumum() ;
	void maximum(int val);
	int  maximum() ;
	void bounds(int low, int high);

public:
	Fl_Int_Input	*input;
	Fl_Slider		*slider;
	ImpressionistDoc *m_pDoc;

};


#endif